package com.devunion.bogdan.model.event;

import com.devunion.bogdan.model.project.User;

/**
 * @author Viktar Liaskovich
 */
public class UserEvent extends BaseEvent {
    private User user;

    /**
     * Constructs a prototypical Event.
     *
     * @throws IllegalArgumentException if source is null.
     */
    public UserEvent(Object owner, User user) {
        super(owner);
        this.user = user;
    }

    public User getUser() {
        return user;
    }
}